<div id="mainimage">
    <div id="myGallery1">
      
        <? foreach($big_images as $item) { ?>
  
        <div class="imageElement"><img src="<?=$folder.$item['Big_Image']?>" class="full" /></div>

        <? } ?>

    </div>
</div>